import {BasicColumn,FormSchema} from '@apps/antd-admin/src/components/Table';

export const columns: BasicColumn[] = [
    {
        title: '创建人',
        dataIndex: 'createBy',
        width: 200,
    },
    {
        title: '创建时间',
        dataIndex: 'createTime',
        width: 200,
    },
    {
        title: '更新人',
        dataIndex: 'updateBy',
        width: 200,
    },
    {
        title: '更新时间',
        dataIndex: 'updateTime',
        width: 200,
    },
    {
        title: '主键',
        dataIndex: 'nfcId',
        width: 200,
    },
    {
        title: 'NFC编号',
        dataIndex: 'nfc',
        width: 200,
    },
];

export const searchFormSchema: FormSchema[] = [
];

export const formSchema: FormSchema[] = [
    {
        label: '创建人',
        field: 'createBy',
        component: 'Input',
        required: true,
    },
    {
        label: '创建时间',
        field: 'createTime',
        component: 'Input',
        required: true,
    },
    {
        label: '更新人',
        field: 'updateBy',
        component: 'Input',
        required: true,
    },
    {
        label: '更新时间',
        field: 'updateTime',
        component: 'Input',
        required: true,
    },
    {
        label: '主键',
        field: 'nfcId',
        component: 'Input',
        required: true,
    },
    {
        label: 'NFC编号',
        field: 'nfc',
        component: 'Input',
        required: true,
    },
];
